package com.clouds.wms.dao;
import java.util.List;

import com.clouds.wms.bean.Purmi;
import com.clouds.wms.bean.Purmj;
import com.clouds.wms.exception.DatabaseException;
import com.clouds.wms.util.PagesBean;

public interface PurmiDao {
	PagesBean getPurmiList(String miaa,String miab,String startMiac,String endMiac,String miad, int offset, int pageSize)throws DatabaseException;
	PagesBean getPurmjList(String mjaa,int offset, int pageSize)throws DatabaseException;
	Purmi getPurmi(String miaa)throws DatabaseException;
	int delPurmi(String miaa)throws DatabaseException;
	int delPurmj(String miaa)throws DatabaseException;
	int[] savePurmjList(List<Purmj> purmiList) throws DatabaseException;
	int savePurmi(Purmi purmi) throws DatabaseException;
	Purmi getPurmiBySql(String sql)throws DatabaseException;
}
